package io.gitee.chearnee.fw.rabbitmq.annotation;

import io.gitee.chearnee.fw.rabbitmq.MqConfigurationInSelector;
import io.gitee.chearnee.fw.rabbitmq.enums.MqEnum;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author cn
 * @version 1.0
 * @description
 * @date 2021/8/27 12:56
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(MqConfigurationInSelector.class)
@Documented
public @interface EnableFWMq {
    MqEnum value() default MqEnum.RABBIT;
}
